package com.xtwy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * @作 者: 侯建军
 * @日 期: 2018/7/28 20:01
 * @描 述: 认证服务中心
 * @ImportAutoConfiguration(value=JpaConfiguration.class) 加载JPA配置
 * //禁止springboot自动加载持久化bean
 * @公 司：山西迅腾伟业
 */
@SpringBootApplication
@EnableEurekaClient
@EnableJpaRepositories(basePackages={"com.xtwy.repository"})
@EntityScan(basePackages={"com.xtwy.entity"})
public class AuthCenterApp
{
    public static void main(String[] args) {
        SpringApplication.run(AuthCenterApp.class, args);
    }
}
